import { Service } from "cl-admin";
import BaseService from "@/service/base";
@Service("deptpay")
class deptpay extends BaseService {
    page(params) {
        return this.$get("/lists", { params }).then(res => {
            return {
                list: res,
                pagination: {
                    ...params,
                    total: res.length
                }
            };
        });
    }
    // 新增
    add(params) {
        return this.$post("/add", params);
    }
    edit(params) {
        return this.$post("/edits", params);
    }
    setstatus(params) {
        return this.$post("/setstatus", params);
    }
}
export default deptpay;
